<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="root"></div>
<script src="../../javascript/react.development.js"></script>
<script src="../../javascript/react-dom.development.js"></script>
<script>
    const vdom = React.createElement("div", {className: "box"}, "我是一个div元素")
    console.log(vdom)
    ReactDOM.render(vdom, document.querySelector("#root"))
</script>
</body>
</html>